Skip to main content

All Questions

2votes
4answers
286views

Process each row against each other, how much would it cost?

If I have n rows in a database, and I want to compare every row against each other, how many loops (or processes) would I need to do. Is it n2? (so if I have 30,000 rows then it would be 900,000,000) ...
Petah's user avatar
  • 3,511

close